package DesignPattern.singleton;
/**
 * 饿汉模式
 * @author Administrator
 *
 */
public class singletonDemo3 {
	private static final singletonDemo3 instance=new singletonDemo3();
	private singletonDemo3() {
		
	}
	public static singletonDemo3 getInstance() {
		return instance;
	}
}
